<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="数据库实例的副本一致性协议与恢复目标实例的副本一致性协议不一致导致恢复失败">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="TPOPS_GaussDB_00063.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="TPOPS_GaussDB_000812">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>数据库实例的副本一致性协议与恢复目标实例的副本一致性协议不一致导致恢复失败</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="TPOPS_GaussDB_000812"></a><a name="TPOPS_GaussDB_000812"></a>

<h1 class="topictitle1">数据库实例的副本一致性协议与恢复目标实例的副本一致性协议不一致导致恢复失败</h1>
<div><div class="section"><h4 class="sectiontitle">现象描述</h4><p>数据库执行恢复任务时，报错实例的副本一致性协议与恢复目标实例的副本一致性协议不一致。</p>
</div>
<div class="section"><h4 class="sectiontitle">可能原因</h4><p>GaussDB数据库要求执行恢复任务时，实例的副本一致性协议与恢复目标实例的副本一致性协议一致。</p>
</div>
<div class="section"><h4 class="sectiontitle">处理步骤</h4><ol><li id="TPOPS_GaussDB_000812__li670013520345"><span>在实例数据库内执行如下命令查看一致性协议。</span><p><pre class="screen" id="TPOPS_GaussDB_000812__screen8129154810319">show enable_dcf;</pre>
<ul id="TPOPS_GaussDB_000812__ul1067119543325"><li id="TPOPS_GaussDB_000812__li367155483213">回显值是off：备份副本的副本一致性协议为Quorum。</li><li id="TPOPS_GaussDB_000812__li203721361338">回显值是on：备份副本的副本一致性协议为Paxos。</li></ul>
</p></li><li><span>选择与备份副本的副本一致性协议相同的实例<a href="TPOPS_GaussDB_00048.html">执行恢复任务</a>。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="TPOPS_GaussDB_00063.html">常见问题</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>